/**iTR报表系统
 * Auth login 验证登录 roles 验证登录且验证权限
 * **/
// import Layout from '@/views/layout/itReportLayout'
import Layout from '@/views/layout/Layout'
const iTReportRouter = 
{
    path: '/itreport',
    component: Layout,
    redirect: '/itreport/viewer',
    name: 'iTReport',
    meta: {
        title: 'iTReport',
        icon: 'el-icon-message',
        hidden: true,
        breadcrumb:false,
    },
    children: [
        {
            path: 'design/:id',
            component: () => import('@/itsoftUI/report/itrDesign'),
            name: 'itrDesign',
            meta: { title: 'iTR报表设计器', hidden: true,Auth: "login" }
        },
        {
            path: 'viewer/:id',
            component: () => import('@/itsoftUI/report/itrViewer'),
            name: 'itrViewer',
            meta: { title: 'iTR报表浏览器', hidden: true,Auth: "login" }
        }
    ]
}

export default iTReportRouter
